﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="com.util.db"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script type="text/javascript" src="js/popup.js"></script>
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<TITLE>修改词汇信息</TITLE>
	    
<script type="text/javascript" src="ny/js/jquery.min.js"></script>
<script type="text/javascript" src="ny/js/bootstrap.min.js"></script>
<script src="ny/js/jconfirm/jquery-confirm.min.js"></script>
<link href="ny/css/bootstrap.min.css" rel="stylesheet">
<link href="ny/css/materialdesignicons.min.css" rel="stylesheet">
<link href="ny/css/style.min.css" rel="stylesheet">
<link rel="stylesheet" href="ny/js/jconfirm/jquery-confirm.min.css">
       
	</head>
<%
  String id="";
 
   %>
<script language="javascript">

function gows()
{
	document.location.href="cihuixinxi_add.jsp?id=<%=id%>";
}
function hsgxia2shxurxu(nstr,nwbk)
{
	if (eval("form1."+nwbk).value.indexOf(nstr)>=0)
	{
		eval("form1."+nwbk).value=eval("form1."+nwbk).value.replace(nstr+"；", "");
	}
	else
	{
		eval("form1."+nwbk).value=eval("form1."+nwbk).value+nstr+"；";
	}
}
</script>
<body>
	<div >
              <div class="card-header"><h4>词汇信息修改</h4></div>
              <div class="card-body">
                <form class="form-horizontal" action="updateCihuixinxi.do" method="post" id="form1" name="form1" onSubmit="return check();"><input type="hidden" name="id" value="${cihuixinxi.id}" />
		<div class='form-group' styxlexulxie2><label class='col-md-3 control-label'>方言名称</label><div class='col-md-7'><input type='text' class='form-control' value='' name='fangyanmingcheng' id='fangyanmingcheng' style='width:45%' placeholder='请输入方言名称' /></div></div>
		 <div class='form-group' styxlexulxie1><label class='col-md-3 control-label'>普通话名称</label><div class='col-md-7'><input type='text' class='form-control' value='' name='zhongwenmingcheng' id='zhongwenmingcheng' style='width:45%' placeholder='请输入普通话名称' /></div></div>
		<div class='form-group' styxlexulxie3><label class='col-md-3 control-label'>音节</label><div class='col-md-7'><input type='text' class='form-control' value='' name='yinjie' id='yinjie' style='width:45%' placeholder='请输入音节' /></div></div>
	
		<div class='form-group' styxlexulxie5><label class='col-md-3 control-label'>音频</label><div class='col-md-7'><input name='yinpin' type='text' id='yinpin' data-place='right' class='form-control'  style='width:75%; float:left;'/>&nbsp;<input type='button' class='btn btn-primary' value='上传' onClick="up('yinpin')"/></div></div>
		
		<div class='form-group' styxlexulxie8><label class='col-md-3 control-label'>详情</label><div class='col-md-7'><textarea id='xiangqing' placeholder='' name='xiangqing' class='form-control'  style='width:75%'></textarea></div></div>
		
				 <div class="form-group">
                    <div class="col-md-9 col-md-offset-3">
                      <button class="btn btn-primary" type="submit" onClick="return checkform();"><i class="mdi mdi-check"></i> 修改</button>
                    </div>
                  </div>
				  <script language="javascript">document.form1.zhongwenmingcheng.value='${cihuixinxi.zhongwenmingcheng}';</script>
	<script language="javascript">document.form1.fangyanmingcheng.value='${cihuixinxi.fangyanmingcheng}';</script>
	<script language="javascript">document.form1.yinjie.value='${cihuixinxi.yinjie}';</script> 
	<script language="javascript">document.form1.yinpin.value='${cihuixinxi.yinpin}';</script> 
	<script language="javascript">document.form1.xiangqing.value='${cihuixinxi.xiangqing}';</script>
	
                </form>
              </div>
            </div>
   </body>
</html>






